import os


abs_path = os.path.abspath(__file__)

project_path = os.path.dirname(os.path.dirname(abs_path))

_conf_path = project_path + os.sep + "config"

_log_path = project_path + os.sep + "log"

_report_path = project_path + os.sep + "report"


# 数据库的配置信息
DB_CONFIG = {
    'host': '127.0.0.1',
    'user': 'root',
    'passwd': 'root',
    'db': 'testcase',
    'charset': 'utf8',
    'port': 3306
             }

# 返回日志目录
def get_log_path():
    return _log_path

# 返回报告目录
def get_report_path():
    return _report_path

# 返回config报告
def get_conf_path():
    return _conf_path





